﻿@using Abp.Authorization.Users
@using Xwy.MyProject.Reservations
@using Xwy.MyProject.Web.Models.Common.Modals
@{
    Layout = null;
}
<div class="modal fade" id="ReservationCreateModal" tabindex="-1" role="dialog" aria-labelledby="ReservationCreateModalLabel" data-backdrop="static">
    <div class="modal-dialog modal-lg" role="document">
        <div class="modal-content">
            @await Html.PartialAsync("~/Views/Shared/Modals/_ModalHeader.cshtml", new ModalHeaderViewModel("新建"))
            <form name="reservationCreateForm" role="form" class="form-horizontal">
                <div class="modal-body">
                    <div class="form-group row required">
                        <label class="col-md-3 col-form-label">姓名</label>
                        <div class="col-md-9">
                            <input type="text" name="Name" class="form-control" required maxlength="255" minlength="2">
                        </div>
                    </div>
                    <div class="form-group row required">
                        <label class="col-md-3 col-form-label">身份证</label>
                        <div class="col-md-9">
                            <input type="text" name="IdentityCard" class="form-control" required maxlength="255" minlength="2">
                        </div>
                    </div>
                    <div class="form-group row required">
                        <label class="col-md-3 col-form-label">手机号</label>
                        <div class="col-md-9">
                            <input type="text" name="Mobile" class="form-control" required maxlength="255" minlength="2">
                        </div>
                    </div>
                    <div class="form-group row required">
                        <label class="col-md-3 col-form-label">场馆</label>
                        <div class="col-md-9">
                            <input type="text" name="WhichLibrary" class="form-control" required maxlength="255" minlength="2">
                        </div>
                    </div>
                    <div class="form-group row required">
                        <label class="col-md-3 col-form-label">预约时间</label>
                        <div class="col-md-9">
                            <input type="text" name="WhenTime" class="form-control" required maxlength="255" minlength="2">
                        </div>
                    </div>              

                </div>
                @await Html.PartialAsync("~/Views/Shared/Modals/_ModalFooterWithSaveAndCancel.cshtml")
            </form>
        </div>
    </div>
</div>
